package com.onepower.core.modules.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 比赛场次表
 * </p>
 *
 * @author kin
 * @since 2018-09-20
 */
@TableName("match_schedule")
public class MatchSchedule implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@TableField("match_id")
	private Integer matchId;
	@TableField("match_place_id")
	private Integer matchPlaceId;
    /**
     * 对应数据源的场次编号
     */
	@TableField("match_code")
	private String matchCode;
    /**
     * 1.表演型 2.对阵型
     */
	private Integer type;
    /**
     * 青方队名称（默认）
     */
	@TableField("blue_team")
	private String blueTeam;
    /**
     * 青方运动员名称
     */
	@TableField("blue_player")
	private String bluePlayer;
    /**
     * 红方队姓名
     */
	@TableField("red_team")
	private String redTeam;
    /**
     * 红方运动员名称
     */
	@TableField("red_player")
	private String redPlayer;
    /**
     * 0.未完成 1.已完成
     */
	@TableField("is_complete")
	private Integer isComplete;
    /**
     * 0.未检录 1.已检录
     */
	@TableField("is_check")
	private Integer isCheck;
    /**
     * 0.青方1.红方（比赛成绩）
     */
	private Integer winner;
    /**
     * 表现力总分
     */
	@TableField("expressiveness_score")
	private Double expressivenessScore;
    /**
     * 准确度总分
     */
	@TableField("accuracy_score")
	private Double accuracyScore;
    /**
     * 个人总分
     */
	@TableField("total_score")
	private Double totalScore;
    /**
     * 场次级别
     */
	@TableField("schedule_level")
	private String scheduleLevel;
    /**
     * 检录时间
     */
	@TableField("check_time")
	private Date checkTime;
	@TableField("score_time")
	private Date scoreTime;
	@TableField("score_string")
	private String scoreString;
	@TableField("create_time")
	private Date createTime;
	@TableField("update_time")
	private Date updateTime;
    /**
     * 0.不显示 1.显示
     */
	@TableField("is_show_score")
	private Integer isShowScore;
    /**
     * 品势章目
     */
	@TableField("ps_entry")
	private String psEntry;
    /**
     * 0.不显示 1.显示
     */
	@TableField("is_show_ranking")
	private Integer isShowRanking;
    /**
     * 场次管理员名称
     */
	@TableField("match_admin")
	private String matchAdmin;
	@TableField("creater_id")
	private Integer createrId;
    /**
     * 是否正式赛事
     */
	@TableField("formal_type")
	private Boolean formalType;
    /**
     * 计分方式
     */
	@TableField("referee_type")
	private Integer refereeType;

    /**
     * 场次名称
     */
	@TableField("schedule_name")
	private String scheduleName;
    /**
     * 场次组别
     */
	@TableField("schedule_group")
	private String scheduleGroup;
    /**
     * 是否为双品势
     */
	@TableField("two_time")
	private boolean twoTime;

	@TableField("lock_two_time")
	private int lockTwoTime;

	@TableField("match_status1")
	private String matchStatus1;

	@TableField("match_status2")
	private String matchStatus2;

	@TableField("code")
	private String code;

	@TableField("final_user")
	private String finalUser;

	public String getFinalUser() {
		return finalUser;
	}

	public void setFinalUser(String finalUser) {
		this.finalUser = finalUser;
	}

	public boolean isTwoTime() {
		return twoTime;
	}

	public void setTwoTime(boolean twoTime) {
		this.twoTime = twoTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMatchId() {
		return matchId;
	}

	public void setMatchId(Integer matchId) {
		this.matchId = matchId;
	}

	public Integer getMatchPlaceId() {
		return matchPlaceId;
	}

	public void setMatchPlaceId(Integer matchPlaceId) {
		this.matchPlaceId = matchPlaceId;
	}

	public String getMatchCode() {
		return matchCode;
	}

	public void setMatchCode(String matchCode) {
		this.matchCode = matchCode;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getBlueTeam() {
		return blueTeam;
	}

	public void setBlueTeam(String blueTeam) {
		this.blueTeam = blueTeam;
	}

	public String getBluePlayer() {
		return bluePlayer;
	}

	public void setBluePlayer(String bluePlayer) {
		this.bluePlayer = bluePlayer;
	}

	public String getRedTeam() {
		return redTeam;
	}

	public void setRedTeam(String redTeam) {
		this.redTeam = redTeam;
	}

	public String getRedPlayer() {
		return redPlayer;
	}

	public void setRedPlayer(String redPlayer) {
		this.redPlayer = redPlayer;
	}

	public Integer getIsComplete() {
		return isComplete;
	}

	public void setIsComplete(Integer isComplete) {
		this.isComplete = isComplete;
	}

	public Integer getIsCheck() {
		return isCheck;
	}

	public void setIsCheck(Integer isCheck) {
		this.isCheck = isCheck;
	}

	public Integer getWinner() {
		return winner;
	}

	public void setWinner(Integer winner) {
		this.winner = winner;
	}

	public Double getExpressivenessScore() {
		return expressivenessScore;
	}

	public void setExpressivenessScore(Double expressivenessScore) {
		this.expressivenessScore = expressivenessScore;
	}

	public Double getAccuracyScore() {
		return accuracyScore;
	}

	public void setAccuracyScore(Double accuracyScore) {
		this.accuracyScore = accuracyScore;
	}

	public Double getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(Double totalScore) {
		this.totalScore = totalScore;
	}

	public String getScheduleLevel() {
		return scheduleLevel;
	}

	public void setScheduleLevel(String scheduleLevel) {
		this.scheduleLevel = scheduleLevel;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public Date getScoreTime() {
		return scoreTime;
	}

	public void setScoreTime(Date scoreTime) {
		this.scoreTime = scoreTime;
	}

	public String getScoreString() {
		return scoreString;
	}

	public void setScoreString(String scoreString) {
		this.scoreString = scoreString;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getIsShowScore() {
		return isShowScore;
	}

	public void setIsShowScore(Integer isShowScore) {
		this.isShowScore = isShowScore;
	}

	public String getPsEntry() {
		return psEntry;
	}

	public void setPsEntry(String psEntry) {
		this.psEntry = psEntry;
	}

	public Integer getIsShowRanking() {
		return isShowRanking;
	}

	public void setIsShowRanking(Integer isShowRanking) {
		this.isShowRanking = isShowRanking;
	}

	public String getMatchAdmin() {
		return matchAdmin;
	}

	public void setMatchAdmin(String matchAdmin) {
		this.matchAdmin = matchAdmin;
	}

	public Integer getCreaterId() {
		return createrId;
	}

	public void setCreaterId(Integer createrId) {
		this.createrId = createrId;
	}

	public Boolean getFormalType() {
		return formalType;
	}

	public void setFormalType(Boolean formalType) {
		this.formalType = formalType;
	}

	public Integer getRefereeType() {
		return refereeType;
	}

	public void setRefereeType(Integer refereeType) {
		this.refereeType = refereeType;
	}

	public String getScheduleName() {
		return scheduleName;
	}

	public void setScheduleName(String scheduleName) {
		this.scheduleName = scheduleName;
	}

	public String getScheduleGroup() {
		return scheduleGroup;
	}

	public void setScheduleGroup(String scheduleGroup) {
		this.scheduleGroup = scheduleGroup;
	}

	public int getLockTwoTime() {
		return lockTwoTime;
	}

	public void setLockTwoTime(int lockTwoTime) {
		this.lockTwoTime = lockTwoTime;
	}

	public String getMatchStatus1() {
		return matchStatus1;
	}

	public void setMatchStatus1(String matchStatus1) {
		this.matchStatus1 = matchStatus1;
	}

	public String getMatchStatus2() {
		return matchStatus2;
	}

	public void setMatchStatus2(String matchStatus2) {
		this.matchStatus2 = matchStatus2;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Override
	public String toString() {
		return "MatchSchedule{" +
			", id=" + id +
			", matchId=" + matchId +
			", matchPlaceId=" + matchPlaceId +
			", matchCode=" + matchCode +
			", type=" + type +
			", blueTeam=" + blueTeam +
			", bluePlayer=" + bluePlayer +
			", redTeam=" + redTeam +
			", redPlayer=" + redPlayer +
			", isComplete=" + isComplete +
			", isCheck=" + isCheck +
			", winner=" + winner +
			", expressivenessScore=" + expressivenessScore +
			", accuracyScore=" + accuracyScore +
			", totalScore=" + totalScore +
			", scheduleLevel=" + scheduleLevel +
			", checkTime=" + checkTime +
			", scoreTime=" + scoreTime +
			", scoreString=" + scoreString +
			", createTime=" + createTime +
			", updateTime=" + updateTime +
			", isShowScore=" + isShowScore +
			", psEntry=" + psEntry +
			", isShowRanking=" + isShowRanking +
			", matchAdmin=" + matchAdmin +
			", createrId=" + createrId +
			", formalType=" + formalType +
			", refereeType=" + refereeType +
			", scheduleName=" + scheduleName +
			", scheduleGroup=" + scheduleGroup +
			", twoTime=" + twoTime +
			", lockTwoTime=" + lockTwoTime +
			"}";
	}
}
